﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using Class1;
namespace flowers
{

    public class flowerses
    {

        public string name;
        public int many;
        public int size;

        //public List<flowers> fff = new List<flowers>();

        public class buket : flowers
        {
            //public List<flowers> fff = new List<flowers>();
            public int stoimosts;
            public int razmer;
            //public int a;
            public int chena(List<flowers> buketA)
            {
                stoimosts = 0;
                for (int i = 0; i < buketA.Count; i++)
                {
                    stoimosts = stoimosts + buketA.ElementAt(i).stoimost;
                }
                return stoimosts;
            }
        }
        public class zelen : flowers
        {
            //public int stoimost;
            public object tip;
            //public int a;
            public void sorvat()
            {
            }
        }

        public class roza : flower
        {
            //public object svetok;
            public string svet;
            //public object tip;
            public void sorvatflower()
            {

            }
        }
        public class roma : flower
        {

            public string tip;
            public void sorvatRoma()
            {
            }
        }
        public class flower : flowers
        {
            //public int stoimost;
            //public object razvitie ;
            //public object vid ;
            public void pay()
            {

                //zsdfsdf
            }


        }
        public class flowers
        {

            //public object svet ;
            public string nazvanie;
            public void polivat() { }
            public int stoimost;
            public void sadit()
            {


            }

        }








    }
}
